package com.bzr.emos.wx.controller;


import com.bzr.emos.wx.Service.UserService;
import com.bzr.emos.wx.common.util.R;
import com.bzr.emos.wx.db.dao.UserDao;
import com.bzr.emos.wx.db.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.context.SecurityContext;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Collection;

@Controller
public class LoginController {



    @GetMapping("/out")
    public String index(){

       return "index";
    }


    @GetMapping("/login")
    public String login(){
        return "login";
    }



}
